package com.qf.commons.mysql.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * description: 插件的配置提示类
 * author: Ken
 * 公众号：Java架构栈
 */
@Data
@ConfigurationProperties(prefix = "qphone.plugin")
public class PluginConfigInfo {

    private Sql sql;
    private Page page;

    @Data
    private static class Sql{
        private boolean enable;
    }

    @Data
    private static class Page{
        private boolean enable = true;
    }
}
